/* 
 * File:   DictionaryDB.h
 * Author: eduardo
 *
 * Created on 20 de noviembre de 2012, 12:12
 */

#ifndef DICTIONARYDB_H
#define	DICTIONARYDB_H

#include <string>
using namespace std;

// db
#include <odb/core.hxx>

#pragma db object
class DictionaryDB {
public:
    DictionaryDB(const string& term, int idpf);

    const string& getTerm() const;
    int getIDPF();

private:

    DictionaryDB() {
    }
    friend class odb::access;

#pragma db id
    string _term;
    int _idpf;
};

#endif	/* DICTIONARYDB_H */

